package org.testis.serialportmodule.data;

import org.testis.data.TestStepDataObject;

/**
 *
 * @author nurhat
 */
public class SerialPortModuleDataObject extends TestStepDataObject {

    private static final long serialVersionUID = 198211115200L;
    private int m_comPortNo;
    private int m_baudRate;
    private int m_stopBits;
    private int m_parity;
    private int m_flowControl;
    private String m_networkIp;
    private int m_networkPort;
    private int m_dataBits;
    private boolean m_isDirectSerial;
    private String m_configName;
    private String m_command;
    private String m_verifyString;

    public SerialPortModuleDataObject() {
        setVerifyString("");
    }

    public SerialPortModuleDataObject(TestStepDataObject data) {
        super(data);
    }

    public int getComPortNo() {
        return m_comPortNo;
    }

    public void setComPortNo(int m_comPortNo) {
        this.m_comPortNo = m_comPortNo;
    }

    public int getBaudRate() {
        return m_baudRate;
    }

    public void setBaudRate(int m_baudRate) {
        this.m_baudRate = m_baudRate;
    }

    public int getStopBits() {
        return m_stopBits;
    }

    public void setStopBits(int m_stopBits) {
        this.m_stopBits = m_stopBits;
    }

    public int getParity() {
        return m_parity;
    }

    public void setParity(int m_parity) {
        this.m_parity = m_parity;
    }

    public int getFlowControl() {
        return m_flowControl;
    }

    public void setFlowControl(int m_flowControl) {
        this.m_flowControl = m_flowControl;
    }

    public String getNetworkIp() {
        return m_networkIp;
    }

    public void setNetworkIp(String m_networkIp) {
        this.m_networkIp = m_networkIp;
    }

    public int getNetworkPort() {
        return m_networkPort;
    }

    public void setNetworkPort(int m_networkPort) {
        this.m_networkPort = m_networkPort;
    }

    public boolean isDirectSerial() {
        return m_isDirectSerial;
    }

    public void setIsDirectSerial(boolean m_isDirectSerial) {
        this.m_isDirectSerial = m_isDirectSerial;
    }

    public String getConfigName() {
        return m_configName;
    }

    public void setConfigName(String m_configName) {
        this.m_configName = m_configName;
    }

    public String getCommand() {
        return m_command;
    }

    public void setCommand(String m_command) {
        this.m_command = m_command;
    }

    public int getDataBits() {
        return m_dataBits;
    }

    public void setDataBits(int m_dataBits) {
        this.m_dataBits = m_dataBits;
    }

    /**
     * @return the m_verifyString
     */
    public String getVerifyString() {
        return m_verifyString;
    }

    /**
     * @param m_verifyString the m_verifyString to set
     */
    public void setVerifyString(String m_verifyString) {
        this.m_verifyString = m_verifyString;
    }
}
